﻿using System;

namespace Program02
{
    class Program
    {
        static void Main(string[] args)
        {
            //匿名类型
          var doctor = new
          {
              FirstName = "zhang",
            LastName = "san"
          };
            Console.WriteLine(doctor.FirstName);
            Console.WriteLine(doctor.LastName);
            //Console.WriteLine(doctor.FirstName+doctor.LastName);

        }
    }
}
